package com.rainwood.water_authority.http.response;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * @author sxs
 * @date :2020/10/29
 * @desc: 盘点首页列表
 */
public final class InventoryHomeBean {


    /**
     * code : 0
     * warn : success
     * data : [{"checkId":"cslv60vdzg6z","checkNum":"PD16032613014572","month":null},{"checkId":"ikxu7rlmiez8","checkNum":"PD16037913407257","month":null},{"checkId":"j442emwzsl49","checkNum":"PD16033520522137","month":null}]
     */
    @SerializedName("code")
    private int code;
    @SerializedName("warn")
    private String warn;
    @SerializedName("data")
    private List<DataDTO> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getWarn() {
        return warn;
    }

    public void setWarn(String warn) {
        this.warn = warn;
    }

    public List<DataDTO> getData() {
        return data;
    }

    public void setData(List<DataDTO> data) {
        this.data = data;
    }

    public static class DataDTO {
        /**
         * checkId : cslv60vdzg6z
         * checkNum : PD16032613014572
         * month : null
         */
        @SerializedName("checkId")
        private String checkId;
        @SerializedName("checkNum")
        private String checkNum;
        @SerializedName("month")
        private String month;

        public String getCheckId() {
            return checkId;
        }

        public void setCheckId(String checkId) {
            this.checkId = checkId;
        }

        public String getCheckNum() {
            return checkNum;
        }

        public void setCheckNum(String checkNum) {
            this.checkNum = checkNum;
        }

        public String getMonth() {
            return month;
        }

        public void setMonth(String month) {
            this.month = month;
        }
    }
}
